/**
 * DataDao.java
 * Created at 2017-07-13
 * Created by Jackie liu
 * Copyright (C) 2014, All rights reserved.
 */
package com.huabo.dao.inter;

import com.huabo.base.BaseDao;
import com.huabo.model.Data;

import java.util.List;
import java.util.Map;

/**
 * <p>ClassName: DataDao</p>
 * <p>Description: 通用内容管理Dao</p>
 * <p>Author: Jackie liu</p>
 * <p>Date: 2017-07-13</p>
 */
public interface DataDao extends BaseDao<Data, Long> {

    public int deleteByRefId(Long refId);

    public List<Data> query(Map<String, Object> params);

    public int saveOrUpdate(Long refId, String content);

    public String loadByRefId(Long refId);
}